﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserManagement.aspx.cs" Inherits="OpenLeuvenPortaal.UserManagement" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

    <title></title>
    <style type="text/css">
        #mijniframe
        {
            height: 247px;
            width: 580px;
        }
        .style6
        {
            text-decoration: underline;
        }
        .style8
        {
            width: 220px;
            text-decoration: underline;
            height: 23px;
        }
        #form1
        {
            font-size: large;
            height: 791px;
        }
        .style10
        {
            text-align: center;
            text-decoration: underline;
        }
        .style3
        {
        width: 110px;
        height: 23px;
    }
        .style21
        {
            width: 220px;
            text-align: left;
            height: 4px;
        }
        .style22
        {
            text-align: center;
            height: 20px;
        }
        .style23
        {
            height: 20px;
            width: 220px;
        }
        .style24
        {
            text-align: center;
            height: 22px;
        }
        .style25
        {
            height: 22px;
            width: 220px;
        }
        .style26
        {
            text-decoration: underline;
            height: 8px;
        }
        .style28
        {
            text-align: center;
            text-decoration: underline;
            height: 71px;
        }
        .style29
        {
            height: 71px;
            width: 220px;
        }
        .style33
        {
            width: 265px;
            text-align: left;
            height: 310px;
        }
        .style36
        {
            width: 101%;
        }
        .style40
        {
            width: 56px;
        }
        .style42
        {
            color: #408080;
        }
        .style43
        {
            width: 56px;
            color: #408080;
        }
        .style45
        {
            width: 315px;
            height: 310px;
        }
        .style49
        {
            height: 8px;
            width: 220px;
        }
        .style52
        {
            width: 110px;
            height: 4px;
        }
        .style53
        {
            height: 310px;
        }
        .style57
        {
            text-align: center;
            height: 19px;
        }
        .style58
        {
            height: 19px;
            width: 220px;
        }
        .style59
        {
            text-align: center;
            height: 17px;
        }
        .style60
        {
            width: 220px;
            height: 17px;
        }
        .style61
        {
            text-align: center;
            height: 31px;
        }
        .style62
        {
            height: 31px;
            width: 220px;
        }
        .style65
        {
            text-align: center;
            height: 25px;
        }
        .style66
        {
            height: 25px;
            width: 220px;
        }
        .style67
        {
            text-align: center;
            height: 21px;
        }
        .style68
        {
            height: 21px;
            width: 220px;
        }
        .style69
        {
            text-align: center;
            height: 6px;
        }
        .style70
        {
            height: 6px;
            width: 220px;
        }
    </style>
</head>
</html>
<body>
    <form id="form1" runat="server">
    <div class="style10" style="color: #008080; text-decoration: underline">
        UserManagement&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br class="style6" />
    </div>
    <table style="width: 97%; height: 624px;" align="left" rules="none">
        <tr>
            <td class="style33" 
                
                
                style="border-collapse: separate; border-spacing: 5mm; empty-cells: hide; border-style: solid; border-color: #008080; display: table-cell; font-size: large;" 
                valign="top">
                <table style="height: 506px; width: 301px; font-size: large; margin-right: 0px;">
                    <tr>
                        <td class="style3">
                            </td>
                        <td class="style8">
                            Manuele registratie</td>
                    </tr>
                    <tr>
                        <td class="style52">
                            Voornaam</td>
                        <td class="style21">
                            <asp:TextBox ID="TextBoxVnaam" runat="server" Width="97px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="TextBoxVnaam" ErrorMessage="Vul veld in" 
                                ondatabinding="ButtonZk_Click">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style22">
                            Naam</td>
                        <td class="style23">
                            <asp:TextBox ID="TextBoxNaam" runat="server" Width="100px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                                ControlToValidate="TextBoxNaam" ErrorMessage="Vul veld in">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style24">
                            Geboortedatum</td>
                        <td class="style25">
                            <asp:TextBox ID="TextBoxGDatum" runat="server" Width="83px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                                ControlToValidate="TextBoxGDatum" ErrorMessage="Vul veld in">*</asp:RequiredFieldValidator>
                            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                                ControlToValidate="TextBoxGDatum" ErrorMessage="Geef juiste datum" 
                                Operator="DataTypeCheck" Type="Date">**</asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style22">
                            Straat</td>
                        <td class="style23">
                            <asp:TextBox ID="TextBoxStraat" runat="server" Width="100px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" 
                                ControlToValidate="TextBoxStraat" ErrorMessage="Vul veld in ">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style65">
                            Postcode</td>
                        <td class="style66">
                            <asp:TextBox ID="TextBoxPostcode" runat="server" Width="100px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" 
                                ControlToValidate="TextBoxPostcode" ErrorMessage="Vul veld in">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style67">
                            Gemeente</td>
                        <td class="style68">
                            <asp:TextBox ID="TextBoxGemeente" runat="server" Width="100px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" 
                                ControlToValidate="TextBoxGemeente" ErrorMessage="Vul veld in">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style57">
                            Email</td>
                        <td class="style58">
                            <asp:TextBox ID="TextBoxEmail" runat="server" Width="100px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" 
                                ControlToValidate="TextBoxEmail" ErrorMessage="Vul veld in">*</asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ControlToValidate="TextBoxEmail" ErrorMessage="Geef juist email" 
                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style61">
                            Gebruikersnaam</td>
                        <td class="style62">
                            <asp:TextBox ID="TextBoxGebruikersnaam" runat="server" Width="100px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server" 
                                ControlToValidate="TextBoxGebruikersnaam" 
                                ErrorMessage="vul veld in ">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style59">
                            Paswoord</td>
                        <td class="style60">
                            <asp:TextBox ID="TextBoxPaswoord" runat="server" Width="100px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator20" runat="server" 
                                ControlToValidate="TextBoxPaswoord" ErrorMessage="Vul veld in">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style69">
                            Herhaal paswoord</td>
                        <td class="style70">
                            <asp:TextBox ID="TextBoxHerhaalPaswoord" runat="server" Width="100px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator21" runat="server" 
                                ControlToValidate="TextBoxHerhaalPaswoord" ErrorMessage="vul veld in">*</asp:RequiredFieldValidator>
                            <asp:CompareValidator ID="CompareValidator2" runat="server" 
                                ControlToCompare="TextBoxPaswoord" ControlToValidate="TextBoxHerhaalPaswoord" 
                                ErrorMessage="Geen match!">*</asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="style26">
                            <asp:Button ID="ButtonVoegToe" runat="server" onclick="BtnVoegToe_Click" 
                                Text="Voeg toe" />
                        </td>
                        <td class="style49">
                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style28">
                        </td>
                        <td class="style29">
                            <asp:Label ID="lblOutput" runat="server"></asp:Label>
                            <br />
                            <asp:Label ID="lblCheck" runat="server"></asp:Label>
                            <br />
                            <asp:Button ID="ButtonCreernieuwegebruiker" runat="server" 
                                onclick="ButtonCreernieuwegebruiker_Click" Text="Creer de nieuwe gebruiker" />
                            <br />
                            <asp:Label ID="lblSuccesvolsaveofniet" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
            <td  
                style="border-style: solid; border-color: #008080; border-spacing: 5mm" 
                class="style53" valign="top">
                <br />
                <span class="style6">Aanvraag registratie Bedrijf<br />
                </span>
                <table class="style36" style="border-style: double">
                    <tr>
                        <td style="border-style: double">
                        </td>
                        <td class="style42" style="border-style: double">
                            Bedrijfsnaam</td>
                        <td class="style42" style="border-style: double">
                            Adres</td>
                        <td class="style43" style="border-style: double">
                            CEO</td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="C" runat="server" />
                        </td>
                        <td>
                            Luxus</td>
                        <td>
                            Praalstraat 22, 2000Antwerpen</td>
                        <td class="style40">
                            Bart Lux</td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="C3" runat="server" />
                        </td>
                        <td>
                            Dino</td>
                        <td>
                            Devestraat 4, 1000Brussel</td>
                        <td class="style40">
                            An Webs</td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="C4" runat="server" />
                        </td>
                        <td>
                            Lavat</td>
                        <td>
                            Latstraat 22, 3000Leuven</td>
                        <td class="style40">
                            Levi<br />
                            Sout</td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="C5" runat="server" />
                        </td>
                        <td>
                            Paller</td>
                        <td>
                            Pensstraat 12,<br />
                            9000 Gent</td>
                        <td class="style40">
                            Pat<br />
                            Soli</td>
                    </tr>
                    <tr>
                        <td>
                            <asp:CheckBox ID="C6" runat="server" />
                        </td>
                        <td>
                            Ancker</td>
                        <td>
                            Selstraat 56, 1000 Brussel</td>
                        <td class="style40">
                            An Veil</td>
                    </tr>
                </table>
                <br />
    <asp:Button ID="ButtonViewNewB2C" runat="server" Height="50px" 
        Text="Approve B2C" Width="91px" />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
            </td>
            <td class="style45" 
                
                style="border-style: solid; border-spacing: 5mm; border-color: #008080; font-variant: normal;">
                <span class="style6">User verwijderen</span><br />
                <br />
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                <br />
                <asp:Button ID="ButtonZk" runat="server" onclick="ButtonZk_Click" Text="Zoek" />
                <br />
                <asp:Label ID="Label1" runat="server"></asp:Label>
                <br />
                <asp:Label ID="Label2" runat="server"></asp:Label>
                <br />
                <br />
                <br />
    <asp:Button ID="ButtonDeletUser" runat="server" Height="50px" 
        Text="Delete User" Width="91px" onclick="ButtonDeletUser_Click" />
                <br />
&nbsp;<asp:Label ID="lbldel" runat="server"></asp:Label>
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
            </td>
        </tr>
        </table>
    </form>
    </body>

